package cn.coco.jf.fw.core.db;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.core.consts.JkConst;

public class SysMenuRoleRel extends Model<SysMenuRoleRel>{
    public static SysMenuRoleRel dao = new SysMenuRoleRel().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    
    public static SysMenuRoleRel newInstance(){
        return new SysMenuRoleRel().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }
    
    public SysMenuRoleRel(){
        use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }
    
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private Integer id;
    private Integer roleId;
    private Integer menuId;

    public Integer getId() {
        return get("id");
    }

    public void setId(Integer id) {
        set("id", id);
    }

    public Integer getRoleId() {
        return get("roleId");
    }

    public void setRoleId(Integer roleId) {
        set("roleId", roleId);
    }

    public Integer getMenuId() {
        return get("menuId");
    }

    public void setMenuId(Integer menuId) {
        set("menuId", menuId);
    }
    
    

}
